package com.car.sale.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

public class CarSale {
    private int sell_id;
    private int car_id;
    private String price;
    private int sales_volume;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate sale_day;

    public int getSell_id() {
        return sell_id;
    }

    public void setSell_id(int sell_id) {
        this.sell_id = sell_id;
    }

    public int getCar_id() {
        return car_id;
    }

    public void setCar_id(int car_id) {
        this.car_id = car_id;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public int getSales_volume() {
        return sales_volume;
    }

    public void setSales_volume(int sales_volume) {
        this.sales_volume = sales_volume;
    }

    public LocalDate getSale_day() {
        return sale_day;
    }

    public void setSale_day(LocalDate sale_day) {
        this.sale_day = sale_day;
    }
}
